package gui;

import java.text.Collator;
import java.util.Comparator;

import logic.file.IFile;

public class FileTypeComparator implements Comparator<IFile> {
	
	Collator collator = Collator.getInstance();

	@Override
	public int compare(IFile o1, IFile o2) {
		return collator.compare(o1.getType(), o2.getType());
	}
}
